package com.suwenhao.test;

import java.util.Date;
import java.util.TimerTask;

/**
 * @Author:suwenhao
 * @Description: 测试
 * @Date: Created in 2020/9/26 15:00
 */
public class MyTask extends TimerTask {


    @Override
    public void run() {
        System.out.println(new Date());
//        System.out.println("定时器执行");
    }
}
